USE [BMIG_Mensual_POST_CADENA]
GO

/****** Object:  StoredProcedure [dbo].[WASP_M0003_NOTARIO]    Script Date: 11/28/2011 12:10:45 ******/
IF  EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[WASP_M0003_NOTARIO]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].[WASP_M0003_NOTARIO]
GO

USE [BMIG_Mensual_POST_CADENA]
GO

/****** Object:  StoredProcedure [dbo].[WASP_M0003_NOTARIO]    Script Date: 11/28/2011 12:10:45 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO


CREATE PROCEDURE [dbo].[WASP_M0003_NOTARIO]
AS

BEGIN

	SELECT hsucur suc, 
		   hcta cta, 
		   hoper ope, 
		   hcimp1 notario

	INTO dbo.prima_comision_notaria

	FROM fsh016 

	WHERE hrubro = 2124020100

END
GO

